package cn.study.luckyclient.api;

import cn.study.luckyclient.dto.UserRegisterCmd;
import cn.study.luckyclient.dto.UserUpdateCmd;
import cn.study.luckyclient.dto.data.UserVo;
import cn.study.luckyclient.dto.query.UserLoginQuery;
import com.baomidou.mybatisplus.core.metadata.IPage;

public interface IUserService {
    UserVo register(UserRegisterCmd cmd);
    String login(UserLoginQuery query);
    IPage<UserVo> page();
    UserVo one(Long id);
    UserVo update(UserUpdateCmd cmd);
}
